
package com.jf.cloud.seckill.vo;

import com.jf.cloud.common.product.vo.SpuVO;
import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 秒杀商品信息VO
 *
 * @author zz
 * @date 2021-03-30 14:53:09
 */
public class AppSeckillSpuVO extends BaseVO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "spu id" )
    private Long spuId;

    @Schema(description = "spu信息" )
    private SpuVO spuVO;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "限购数量" )
    private Integer maxNum;

    @Schema(description = "活动状态（活动状态：1:未开始、2:进行中、3:已结束）" )
    private Integer activityStatus;

    @Schema(description = "秒杀活动最低价" )
    private Long seckillPrice;

    @Schema(description = "秒杀活动剩余总库存" )
    private Integer seckillTotalStocks;

    @Schema(description = "秒杀活动原始库存" )
    private Integer seckillOriginStocks;

    @Schema(description = "秒杀活动关联sku信息" )
    private List<AppSeckillSkuVO> seckillSkuList;

    @Schema(description = "在多少秒后过期" )
    private Long expiresIn;

    @Schema(description = "在多少秒后开始" )
    private Long startIn;

    public Integer getActivityStatus() {
        return activityStatus;
    }

    public void setActivityStatus(Integer activityStatus) {
        this.activityStatus = activityStatus;
    }

    public Integer getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(Integer maxNum) {
        this.maxNum = maxNum;
    }

    public SpuVO getSpuVO() {
        return spuVO;
    }

    public void setSpuVO(SpuVO spuVO) {
        this.spuVO = spuVO;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }


    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Long getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(Long seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public Integer getSeckillTotalStocks() {
        return seckillTotalStocks;
    }

    public void setSeckillTotalStocks(Integer seckillTotalStocks) {
        this.seckillTotalStocks = seckillTotalStocks;
    }

    public Integer getSeckillOriginStocks() {
        return seckillOriginStocks;
    }

    public void setSeckillOriginStocks(Integer seckillOriginStocks) {
        this.seckillOriginStocks = seckillOriginStocks;
    }

    public List<AppSeckillSkuVO> getSeckillSkuList() {
        return seckillSkuList;
    }

    public void setSeckillSkuList(List<AppSeckillSkuVO> seckillSkuList) {
        this.seckillSkuList = seckillSkuList;
    }

    public Long getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Long expiresIn) {
        this.expiresIn = expiresIn;
    }

    public Long getStartIn() {
        return startIn;
    }

    public void setStartIn(Long startIn) {
        this.startIn = startIn;
    }

    @Override
    public String toString() {
        return "SeckillSpuVO{" +
                "spuId=" + spuId +
                ", seckillPrice=" + seckillPrice +
                ", seckillTotalStocks=" + seckillTotalStocks +
                ", seckillOriginStocks=" + seckillOriginStocks +
                ", seckillSkuList=" + seckillSkuList +
                '}';
    }
}
